package design._12_chainOfResponsibility;
//职责链模式的核心在于抽象处理者类的设计
public abstract class Handler {
	//维持对下家的引用
	protected Handler successor;
	
	public void setSuccessor(Handler successor) {
		this.successor=successor;
	}
	
	public abstract void handleRequest(String request);

}
